-
Notifications
You must be signed in to change notification settings - Fork 32
feat(web-console): export parquet files, fix unresponsive CSV imports #484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for exporting query results in Parquet format alongside the existing CSV export functionality and fixes an issue with unresponsive CSV imports by implementing a service worker-based download mechanism.
- Introduces Parquet export format with fallback download strategies
- Implements a service worker to handle authenticated download requests
- Refactors UI to show a dropdown menu for export format selection with loading states
Reviewed Changes
Copilot reviewed 13 out of 15 changed files in this pull request and generated 3 comments.
Show a summary per file
File | Description |
---|---|
packages/web-console/webpack.config.js |
Adds public directory to webpack copy patterns |
packages/web-console/src/utils/serviceWorker.ts |
New service worker registration and auth token management |
packages/web-console/src/utils/questdb/client.ts |
Refactored export method to support multiple formats with service worker integration |
packages/web-console/src/scenes/Result/index.tsx |
Updated UI with dropdown export menu and loading states |
packages/web-console/src/scenes/Search/SearchPanel.tsx |
Replaced custom loader with reusable LoadingSpinner component |
packages/web-console/src/components/LoadingSpinner/index.tsx |
New reusable loading spinner component |
packages/web-console/src/index.tsx |
Registers download service worker on app startup |
packages/web-console/public/download-sw.js |
Service worker implementation for handling authenticated downloads |
packages/web-console/serve-dist.js |
Added export endpoint to development proxy |
packages/browser-tests/cypress/integration/console/download.spec.js |
Comprehensive test coverage for new download functionality |
Comments suppressed due to low confidence (1)
packages/web-console/public/download-sw.js:1
- [nitpick] String literal should use double quotes to match the project's style. Change to
iframe.style.display = \"none\"
.
let authToken = null
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 13 out of 15 changed files in this pull request and generated 5 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
No description provided.